﻿#include "oeasyproxy.h"
#include <QTextCodec>
#include <QMetaType>
#ifdef NO_WIDGETS
#include <QtCore/qcoreapplication.h>
#else
#include <QApplication>
#endif

int main(int argc, char *argv[])
{
#ifdef NO_WIDGETS
    QCoreApplication a(argc, argv);
#else
    QApplication a(argc, argv);
#endif
    QTextCodec::codecForName("utf-8");//GBK
    qRegisterMetaType<TRANSFER_INFO>("TRANSFER_INFO");


    OeasyProxy w;
 #ifndef NO_WIDGETS
    w.show();
#else
    Q_UNUSED(w);
#endif

    return a.exec();
}
